$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$f: 19.2;

.header {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: all 600ms;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  .box {
    margin: 0 10vw;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .logo {
      position: relative;

      img {
        width:200/$f+vw;
        transition: all 600ms;
      }
    }
    .links{
      display: flex;
      .item{
        margin-left: 1vw;
        a{
          color: #000;
          font-size: $fontSize_18;
          position: relative;
          padding: 2vw 1.2vw;
          display: block;
          opacity: .6;
          transition: all 600ms;
          &::before{
            content:'';
            display: block;
            position: absolute;
            left: 0;
            width: 0;
            height: 5/$f+vw;
            bottom:0;
            background-color: rgba(0, 166, 229, 1);
            transition: all 600ms;
          }
          &::after{
            content:'';
            display: block;
            position: absolute;
            left:70%;
            width:0;
            height: 5/$f+vw;
            bottom:0;
            background-color: rgba(0, 96, 176, 1);
            transition: all 600ms;
          }
          &:hover{
            opacity: 1;
            &::before{
              width:70%;
            }
            &::after{
              width: 30%;
            }
          }
        }
        .active{
          opacity: 1;
          font-weight: bold;
          &::before{
            width:70%;
          }
          &::after{
            width: 30%;
          }
        }
      }
    }

    .lan{
      position: relative;
      cursor: pointer;
      .l1{
        display: flex;
        align-items: center;
        p{
          color: #000;
          font-size: $fontSize_18;
        }
        svg{
          width: 15/$f+vw;
          min-width: 6px;
          display: block;
          margin-left: 0.5vw;
        }
      }
      a {
        position: absolute;
        top: 100%;
        left: -10px;
        display: none;
        width: 80px;
        padding: 12px 0 9px 0px;
        border: 1px solid #000;
        background-color: #000;
        font-size: 14px;
        line-height: 12px;
        text-align: center;
        color: #fff;
        font-weight: bold;

        &::before {
          position: absolute;
          top: 0;
          left: 45%;
          content: "";
          display: block;
          width: 0px;
          height: 0px;
          margin-top: -6px;
          margin-left: -3px;
          border-left: 6px solid transparent;
          border-right: 6px solid transparent;
          border-bottom: 6px solid #000;
        }
      }
    }
  }
}
.fixed{
  position: fixed;
}



.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 1002;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
   background-color: white;;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        height: 30px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #0060B0;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;

      a {
        width: 100%;
        display: block;
      }

      img {
        width: 40px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;

      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}


.r_fixed{
  position: fixed;
  right:3vw;
  bottom:5%;
  z-index: 10;
  .item{
    width: 48/$f+vw;
    height: 48/$f+vw;
    background: rgba(0, 0, 0, 0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid white;
    cursor: pointer;
    position: relative;
    transition: all 600ms;
    .code{
      position: absolute;
      left: -100px;
      top:0;
      display: none;
      img{
        width: 100px;
        height: 100px;
      }
    }
    .icon{
      svg{
        width: 18/$f+vw;
        display: block;
      }
    }
    &:hover{
      background-color: #0060B0;
      .code{
        display: block;
      }
    }
  }
  .top{
    cursor: pointer;
    svg{
      width: 48/$f+vw;
      height: 48/$f+vw;
      display: block;
    }
  }
}

.foot {
  background-color: #0060B0;
  .line{
    display: flex;
    .l1{
      width: 80%;
      height: 16/$f+vw;
      background: #00A6E5;
    }
    .l2{
      width: 20%;
      height: 16/$f+vw;
      background: #C2C6C9;
    }
  }
  .dom1{
    margin:6vw 10vw 1vw 10vw;
    display: flex;
    justify-content: space-between;
    .links{
      display: flex;
      .item{
        margin-right: 2vw;
        p{
          color: #FFF;
          font-size: $fontSize_16;
        }
        .aList{
          margin-top: 1.8vw;
          a{
            display: block;
            color: #FFF;
            font-size: $fontSize_16;
            opacity: .7;
            margin-bottom: 0.8vw;
            transition: all 600ms;
            &:hover{
              opacity: 1;
            }
          }
        }
      }
    }
    .info{
      width: 22vw;
      margin-left: 7vw;
      .des{
        color: #F3F7FB;
        font-size: $fontSize_16;
        opacity: .7;
        margin-bottom: .8vw;
        font-family: 'SourceHanSansCN-Normal';
      }
    }
    .codes{
      .phone{
        color: #F3F7FB;
        font-size: 40/$f+vw;
        font-weight: 900;
        opacity: .7;
      }
      .icons{
        display: flex;
        align-items: center;
        margin-top:0.8vw;
        .i{
          text-align: center;
          margin-right:1vw;
          .pic{
            img{
              width: 100/$f+vw;
              height:100/$f+vw;
              display: block;
              object-fit: contain;
            }
          }
          p{
            color: #F3F7FB;
            font-size: $fontSize_16;
            opacity: .7;
            margin-top: 5px;
          }
        }
      }
    }
  }
  .dom2{
    margin: 0 10vw;
    padding: 3vw 0;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.3);
    .l{
      display: flex;
      a,p{
        color: #FFF;
        font-size: $fontSize_16;
        margin-right: 2vw;
      }
    }
    .r{
      display: flex;
      a{
        color: #FFF;
        font-size: $fontSize_16;
        margin-left: 2vw;
      }
    }
  }
}


@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }
  .r_fixed{
    display: none;
  }

  .foot{
    .dom1{
      margin: 20px 5%;
      flex-direction: column;
      .links{
        display: none;
      }
      .info{
        margin: 0;
        width: 100%;
        .des{
          font-size: 14px;
          line-height: 1.6;
          margin-bottom: 10px;
        }
      }
      .codes{
        width: 100%;
        .phone{
          font-size: 28px;
        }
        .icons{
          margin-top: 15px;
          .i{
            margin-right: 20px;
            .pic{
              img{
                width: 80px;
                height: auto;
              }
            }
            p{
              font-size: 16px;
            }
          }
        }
      }
    }
    .dom2{
      margin: 0 5%;
      padding: 10px 0;
      flex-direction: column;
      line-height: 1.8;
      .l{
        flex-direction: column;
        text-align: center;
        a,p{
          font-size: 14px;
        }
      }
      .r{
        justify-content: center;
        a{
          font-size: 14px;
        }
      }
    }
  }
}